package br.com.rnavarro.padroes.comportamental.command;

public class ComandoReiniciar extends ComandoServidor implements Comando
{
	public ComandoReiniciar(Receptor servidor)
	{
		this.servidor = servidor;
	}
	
	public void executar()
	{
		conectar();
		reiniciar();
		desconectar();
	}
	
	public void reiniciar()
	{
		System.out.println("Reiniciando...");
	}
}